<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<script type="text/javascript">
	function editPlan(id){
		art.dialog.open(
			ctx + "/editPlan.html?vipServiceId=" + id, {
				title: "调整申请计划",
				width:"550px", 
				height:"380px",
				lock: true
			}
		);
	}
</script>
<c:set var="planWidth" value="12"></c:set>
<c:choose>
	<c:when test="${'ROLE_USER' ne currentRole.name }">
		<c:set var="planWidth" value="13"></c:set>
	</c:when>
	<c:otherwise>
		<c:set var="planWidth" value="15"></c:set>
	</c:otherwise>
</c:choose>
<table cellpadding="1" cellspacing="0" style="width: 100%;padding: 10px;">
	<tr>
		<td style="width: ${planWidth }%;">
			完善申请者信息
		</td>
		<td style="width: ${planWidth }%;">
			完成选校
		</td>
		<td style="width: ${planWidth }%;">
			完成文书写作
		</td>
		<td style="width: ${planWidth }%;">
			检查材料清单
		</td>
		<td style="width: ${planWidth }%;">
			提交申请
		</td>
		<td style="width: ${planWidth }%;">
			材料寄送
		</td>
		<td style="width: ${planWidth }%;">
			申请截至日期
		</td>
		<c:if test="${'ROLE_USER' ne currentRole.name }">
			<td style="width: ${planWidth }%;" class="right">
				<a href="javascript:void(0)" onclick="editPlan(${param.vipServiceId })">调整计划</a>
			</td>
		</c:if>
	</tr>
	<tr>
		<td colspan="8">
			<hr style="border-color: #F06E00;border-style: dashed;margin-bottom: 5px;" />
		</td>
	</tr>
	<tr>
		<s:iterator value="planList">
			<td>
				<s:date name="endTime" format="yyyy-MM-dd" />
			</td>
		</s:iterator>
		<td>
			&nbsp;
		</td>
	</tr>
</table>
